package com.his.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.his.bean.DzmHisBatchesOfInventory;
import com.his.mapper.DzmHisBatchesOfInventoryMapper;
import com.his.service.DzmHisBatchesOfInventoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class DzmHisBatchesOfInventoryServiceImpl extends ServiceImpl<DzmHisBatchesOfInventoryMapper, DzmHisBatchesOfInventory>
        implements DzmHisBatchesOfInventoryService {

    @Autowired
    DzmHisBatchesOfInventoryMapper dzmHisBatchesOfInventoryMapper;


    @Override
    public List<DzmHisBatchesOfInventory> dzmHisPurchase_batch_query() {
        return dzmHisBatchesOfInventoryMapper.dzmHisPurchase_batch_query();
    }

    @Override
    public int dzmHisBatchesOfInventory_insert(DzmHisBatchesOfInventory dzmHisBatchesOfInventory) {
        return dzmHisBatchesOfInventoryMapper.dzmHisBatchesOfInventory_insert(dzmHisBatchesOfInventory);
    }

    @Override
    public void DzmHisBatchesOfInventory_update_statu(String batchesOfInventoryId) {
        dzmHisBatchesOfInventoryMapper.DzmHisBatchesOfInventory_update_statu(batchesOfInventoryId);
    }

    @Override
    public void dzmHisBatchesOfInventory_update_statu_btg(String batchesOfInventoryId) {
        dzmHisBatchesOfInventoryMapper.dzmHisBatchesOfInventory_update_statu_btg(batchesOfInventoryId);

    }


}
